package Users;



import Users.Cronerller.UserControllers;

import java.util.Scanner;

public class UserMain {
    public static void main(String[] args) {
        UserControllers newBase= new UserControllers();
        label:
        do {
            newBase.PrintEnum();
            String InputNumber=new Scanner(System.in).next();
            switch (InputNumber) {
                case "1":
                    newBase.Into();
                    if (!newBase.isExit()) {
                        break label;
                    }
                    break;
                case "2":
                    newBase.Login();
                    if (!newBase.isExit()) {
                        break label;
                    }
                    break;
                case "3":
                    newBase.Numbers();
                    if (!newBase.isExit()) {
                        break label;
                    }
                    break;
                case "4":
                    newBase.Number();
                    if (!newBase.isExit()) {
                        break label;
                    }
                    break;
                case "5":
                    newBase.Feedback();
                    if (!newBase.isExit()) {
                        break label;
                    }
                    break;
                default:
                    System.out.println("输入信息有误");
                    if (!newBase.isExit()) {
                        break label;
                    }
                    break;
            }
        }while(true);
    }
}
